package com.th.cash.http


import com.th.basemodel.bean.BaseBean
import com.th.cash.th2.main.HomeResponse
import com.th.cash.th2.main.OrderRequest
import com.th.cash.th2.main.OrderResponse
import com.th.cash.th2.main.ProductApplyRequest
import com.th.cash.th2.main.ProductApplyResponse
import com.th.cash.th2.main.UserCenterResponse
import com.th.cash.th2.product.OrderUrlRequest
import com.th.cash.th2.product.OrderUrlResponse
import com.th.cash.th2.product.ProductDetailRequest
import com.th.cash.th2.product.ProductDetailResponse
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface MainApiService {

    @GET("gMWGiFleaUcIKU")
    suspend fun getHome(): BaseBean<HomeResponse>

    @GET("xOrzJGarrochaZGpiJ")
    suspend fun getUserCenter(): BaseBean<UserCenterResponse>

    @POST("UhSkqRhubarbGYWxi")
    suspend fun getOrders(@Body request: OrderRequest): BaseBean<OrderResponse>

    @POST("uhqAhKnitSlHVi")
    suspend fun applyProduct(@Body request: ProductApplyRequest): BaseBean<ProductApplyResponse>

    @POST("QvIayDislimnOzelu")
    suspend fun getProductDetail(@Body request: ProductDetailRequest): BaseBean<ProductDetailResponse>

    @POST("jwVcgAnthropologicJSFBW")
    suspend fun getOrderUrl(@Body request: OrderUrlRequest): BaseBean<OrderUrlResponse>
}